/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office.CommandBar*/
public class CommandBar extends JavaScriptObject {

	protected CommandBar() { }
	public native final Object getaccParent()/*-{
		return this.accParent;
	}-*/;

	public native final int getaccChildCount()/*-{
		return this.accChildCount;
	}-*/;

	public native final Object getaccChild( Object varChild)/*-{
		return this.accChild( varChild);
	}-*/;

	public native final String getaccName( Object varChild)/*-{
		return this.accName( varChild);
	}-*/;

	public native final String getaccValue( Object varChild)/*-{
		return this.accValue( varChild);
	}-*/;

	public native final String getaccDescription( Object varChild)/*-{
		return this.accDescription( varChild);
	}-*/;

	public native final JavaScriptObject getaccRole( Object varChild)/*-{
		return this.accRole( varChild);
	}-*/;

	public native final JavaScriptObject getaccState( Object varChild)/*-{
		return this.accState( varChild);
	}-*/;

	public native final String getaccHelp( Object varChild)/*-{
		return this.accHelp( varChild);
	}-*/;

	public native final int getaccHelpTopic(String pszHelpFile,  Object varChild)/*-{
		return this.accHelpTopic( pszHelpFile, varChild);
	}-*/;

	public native final String getaccKeyboardShortcut( Object varChild)/*-{
		return this.accKeyboardShortcut( varChild);
	}-*/;

	public native final JavaScriptObject getaccFocus()/*-{
		return this.accFocus;
	}-*/;

	public native final JavaScriptObject getaccSelection()/*-{
		return this.accSelection;
	}-*/;

	public native final String getaccDefaultAction( Object varChild)/*-{
		return this.accDefaultAction( varChild);
	}-*/;

	public native final void accSelect(int flagsSelect,  Object varChild)/*-{
		this.accSelect( flagsSelect, varChild);
	}-*/;

	public native final void accLocation(int pxLeft, int pyTop, int pcxWidth, int pcyHeight,  Object varChild)/*-{
		this.accLocation( pxLeft, pyTop, pcxWidth, pcyHeight, varChild);
	}-*/;

	public native final JavaScriptObject accNavigate(int navDir,  Object varStart)/*-{
		return this.accNavigate( navDir, varStart);
	}-*/;

	public native final JavaScriptObject accHitTest(int xLeft, int yTop)/*-{
		return this.accHitTest( xLeft, yTop);
	}-*/;

	public native final void accDoDefaultAction( Object varChild)/*-{
		this.accDoDefaultAction( varChild);
	}-*/;

	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final boolean getBuiltIn()/*-{
		return this.BuiltIn;
	}-*/;

	public native final String getContext()/*-{
		return this.Context;
	}-*/;

	public native final void setContext(String value)/*-{
		this.Context = value;
	}-*/;

	public native final CommandBarControls getControls()/*-{
		return this.Controls;
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final boolean getEnabled()/*-{
		return this.Enabled;
	}-*/;

	public native final void setEnabled(boolean value)/*-{
		this.Enabled = value;
	}-*/;

	public native final CommandBarControl findControl( Object type,  Object id,  Object tag,  Object visible,  Object recursive)/*-{
		return this.FindControl( type, id, tag, visible, recursive);
	}-*/;

	public native final int getHeight()/*-{
		return this.Height;
	}-*/;

	public native final void setHeight(int value)/*-{
		this.Height = value;
	}-*/;

	public native final int getIndex()/*-{
		return this.Index;
	}-*/;

	public native final int getInstanceId()/*-{
		return this.InstanceId;
	}-*/;

	public native final int getLeft()/*-{
		return this.Left;
	}-*/;

	public native final void setLeft(int value)/*-{
		this.Left = value;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final String getNameLocal()/*-{
		return this.NameLocal;
	}-*/;

	public native final void setNameLocal(String value)/*-{
		this.NameLocal = value;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	protected native final int _getPosition()/*-{
		return this.Position;
	}-*/;

	public final MsoBarPosition getPosition(){
		return MsoBarPosition.valueOf(_getPosition());
	}
	protected native final void _setPosition( int value)/*-{
		this.Position = value;
	}-*/;

	public final void setPosition(MsoBarPosition value){
		_setPosition(value.getValue());
	}
	public native final int getRowIndex()/*-{
		return this.RowIndex;
	}-*/;

	public native final void setRowIndex(int value)/*-{
		this.RowIndex = value;
	}-*/;

	public native final int getProtection()/*-{
		return this.Protection;
	}-*/;

	public native final void setProtection(int value)/*-{
		this.Protection = value;
	}-*/;

	public native final void reset()/*-{
		this.Reset( );
	}-*/;

	public native final void showPopup( Object x,  Object y)/*-{
		this.ShowPopup( x, y);
	}-*/;

	public native final int getTop()/*-{
		return this.Top;
	}-*/;

	public native final void setTop(int value)/*-{
		this.Top = value;
	}-*/;

	public native final int getType()/*-{
		return this.Type;
	}-*/;

	public native final boolean getVisible()/*-{
		return this.Visible;
	}-*/;

	public native final void setVisible(boolean value)/*-{
		this.Visible = value;
	}-*/;

	public native final int getWidth()/*-{
		return this.Width;
	}-*/;

	public native final void setWidth(int value)/*-{
		this.Width = value;
	}-*/;

	public native final boolean getAdaptiveMenu()/*-{
		return this.AdaptiveMenu;
	}-*/;

	public native final void setAdaptiveMenu(boolean value)/*-{
		this.AdaptiveMenu = value;
	}-*/;

	public native final int getId()/*-{
		return this.Id;
	}-*/;

}
